<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    //创建json格式的对象
    var obj={"id":O,"name":"李湘",age:18}
    console.log(obj.id)
    console.log(obj.name)
    console.log(obj.age)
    var obj1=[{"id":O,"name":"李湘",age:18},{"id":19,"name":""}]
</script>
</html>